/*
 *  Copyright 2024 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
@import (reference) '../../styles/variables.less';

.white-label-config-card {
  background-color: @grey-6;
  padding: 16px;
  border-radius: 10px;
  .ant-card-head {
    border-bottom: none;
    .ant-card-head-wrapper {
      .ant-card-head-title {
        color: @text-color;
        font-size: 16px;
        font-weight: 500;
      }
    }
  }

  .ant-input[type='color'],
  .ant-input[type='text'] {
    height: 40px;
  }
}

.white-label-card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.preview-image {
  background-color: @white;
  border: 1px dashed @grey-7;
  padding: 8px;
  border-radius: 4px;
}

.theme-preview {
  .ant-card-body {
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding: 8px 0px;
  }
}

.custom-theme-beta-tag {
  .ant-badge-count {
    background-color: @primary-color;
    color: @white;
    padding: 0 4px;
    margin-left: 2px;
    font-size: 10px;
  }
}
